package com.aruio.conveter;

import com.aruio.entity.Panda;
import com.aruio.vo.PandaVO;
import org.springframework.beans.BeanUtils;

/**
 * @Description TODO
 * @Date 2024/9/25 17:21
 * @Created by 10574
 */
public class PandaConverter {
    public static PandaVO toVO(Panda panda) {
        final PandaVO pandaVO = new PandaVO();
        BeanUtils.copyProperties(panda, pandaVO);
        return pandaVO;
    }

}
